package params

type UserReq struct {
	Username string `form:"username" json:"username" url:"username" binding:"username"`
	Password string `form:"password" json:"password" url:"password" binding:"password"`
}

type WeiBoReq struct {
	Id      int    `form:"id" json:"id" url:"id" binding:"required"`
	UserId  int    `form:"userid" json:"userid" url:"userid" binding:"required"`
	Image   string `form:"image" json:"image" url:"image" binding:"required"`
	Content string `form:"content" json:"content" url:"content" binding:"required"`
	Page    int    `form:"page" json:"page" url:"page" binding:"required"`
	Size    int    `form:"size" json:"size" url:"size" binding:"required"`
}
